<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>动画</title>
    <style>
        @keyframes move {
            /* 开始状态 */
            0% {
                transform: translate(100px, 200px);
            }

            50% {
                transform: translate(100px, 400px);
            }

            100% {
                transform: translate(400px, 400px);
            }
        }

        @keyframes large {
            /* 相当于 0% 和 100% */
            form {
                width: 200px;
                height: 200px;
            }
            to {
                height: 300px;
                width: 300px;
            }
        }

        .test {
            width: 100px;
            height: 100px;
            background-color: #000fff;
            /* 调用的动画名称 */
            animation-name: large;
            /* 持续时间 */
            animation-duration: 5s;
        }

        .map {
            width: 400px;
            height: 400px;
            background-color: gray;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .move {
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 0 12px #009dfd;
            animation: large 2s linear infinite normal;
        }

        .hot-1 {

        }

        .hot-2 {
            animation-delay: .6s;
        }

        .hot-3 {
            animation-delay: 1.2s;
        }

        .hot {
            width: 8px;
            height: 8px;
            background-color: red;
            border-radius: 50%;
        }

        @keyframes large {
            0% {
                width: 10px;
                height: 10px;
            }
            75% {
                width: 40px;
                height: 40px;
                opacity: 1;
            }
            100% {
                width: 70px;
                height: 70px;
                opacity: 0;
            }
        }

    </style>
</head>
<body>
    <div class="test"></div>
    <div class="parent">
        <img src="" alt="">
    </div>

    <!-- 热点 -->
    <div class="map">
        <div class="hot-1 move">
            <div class="hot-2 move">
                <div class="hot"></div>
            </div>
        </div>
    </div>
</body>
</html>